<%@ page contentType="text/html;charset=UTF-8"  language="java" pageEncoding="UTF-8" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta name="renderer" content="ie-comp|webkit|ie-stand" />
    <meta name="viewport" content="width=device-width" />
    <meta name="keywords" content="立寻" />
    <meta name="description" content="立寻" />
    <title>立寻</title>
    <link href="<%=basePath%>script/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="<%=basePath%>css/loadmask.css" rel="stylesheet" />
    <link href="<%=basePath%>css/style_buyer.css" rel="stylesheet" />

<link href="<%=basePath%>css/auu/css.css" rel="stylesheet" type="text/css" />




    <!--[if lt IE 8]>
        <script type="text/javascript">
            document.write('<script type="text/javascript">window.top.location = "/Account/NotSupportBrowser";<\/script>');
        </script>
    <![endif]-->
    <!--[if lt IE 9]>
        <script src="/script/ieonly/html5shiv.js"></script>
        <script src="/script/ieonly/respond.js"></script>
        <script src="/script/ieonly/iearray.js"></script>
    <![endif]-->

</head>
<body >

    <!--<div class="container positiveRe"><a class="adPos" href="/Account/PosInfo"><img src="image/LoginPos.jpg" /></a></div>-->
    <ul class="loginAboutDoor container widthNine">
       <!-- <li><a href="" target="_blank">关于我们</a></li>
        <li><a href="" target="_blank">平台价值</a></li>-->
        <!--<li><a href="" target="_blank">账期管理</a></li>-->
   <!--     <li><a href="" target="_blank">联系我们</a></li>-->
        <!-- <li><a href="<%=basePath %>fileDownload?fileName=lx.zip" target="_blank">下载客户端</a></li>-->
        <li>客服电话：021-61535880&nbsp;|&nbsp;021-61535881</li>
    </ul>
    <div class="topImg_2 container boxPadd">
        <img src="<%=basePath%>image/logo_stat.png"class="changH"/>

    </div>
    <div  style="background: #d1c1af; margin-bottom: 35px; box-shadow: 0 4px 5px #d9d9d9;">
        <div class="container loginBox loginBoxTwo" >
            <div id="carousel-example-generic" class="carousel slide loginBanner" data-ride="carousel">
                <img src="<%=basePath%>image/logo-in.png" />

            </div>
            <div class="loginList">
<form action="<%=basePath %>t_company_user/logonCheck" class="form-horizontal" id="loginForm" method="post" role="form">                    <ul>
                        <!-- <li><img src="<%=basePath%>image/shanghuZhangH.png" /> &nbsp;商 户 号 ：<input type="text" placeholder="您的商户号" name="company_no" class="required" data-msg-required="请输入商户号" /></li> -->
                        <li><img src="<%=basePath%>image/dengluH.png" /> &nbsp;登录账号：<input type="text" placeholder="登录账号" name="user_no" class="required" data-msg-required="请输入登录帐号" /></li>
                        <li>
                            <img src="<%=basePath%>image/dengluM.png" /> &nbsp;登录密码：<input type="password" placeholder="登录密码" name="password" class="required" data-msg-required="请输入登录密码" /></li>
                        <li>
                            <img src="<%=basePath%>image/yanzhengM.png" />&nbsp;
                            验 证 码 ：<input type="text" class="ipt_yan required" name="checkcode" id="checkcode" placeholder="输入验证码" data-msg-required="请输入验证码" />
                            <img id="imgCheck" class="floatr" height="34" src="<%=basePath %>Image" onClick="this.src = '<%=basePath %>Image?_r='+(new Date().valueOf())" alt="点击切换" style="margin:0;" />
                        </li>
                    </ul>
                    <p class="wangMi">
                        <label style="margin-right: 140px; *margin-right: 180px !important;*vertical-align:middle !important; font-weight: normal;">
                            <font color='red'>${param.loginMess}</font>
                            <!-- <input type="checkbox" id="IsRememer" />记住密码  <a href="" style="color: #ee1f63;">忘记密码？</a>-->
                        </label>

                    </p>
                    <input class="btn  btn_login" value="登 录" type="submit"/>
                    <p class="toFirstLogin"><a href="<%=basePath%>reg" class="btn btn_login btn_firstLogin"style="background: #cbcbcb;color:#fff;border:none;">注册</a></p>
</form>            </div>
        </div>
    </div>
    <!--
    <div class="container loginFour">
        <ul>
            <li style="margin-left:2%;">
                <a href="" target="_blank">
                    <img src="<%=basePath%>image/pay-money.png" /><br />价格更便宜<br /><span>为企业带来利润空间</span>
                </a>
            </li>
            <li>
                <a href="" target="_blank">
                    <img src="<%=basePath%>image/owe-money.png" /><br />可以欠款啦<br /><span>解决企业资金周转</span>
                </a>
            </li>
            <li>
                <a href="" target="_blank">
                    <img src="<%=basePath%>image/more-product.png" /><br />产品更丰富<br /><span>零成本扩大企业经营</span>
                </a>
            </li>
            <li style="border:0 none;margin-right:0;">
                <a href="" target="_blank">
                    <img src="<%=basePath%>image/price.png" /><br />活动更多<br /><span>企业展开供应链服务</span>
                </a>
            </li>
        </ul>
    </div>
 -->
<div class="footqpa">
    <div class="AllWrap qingbz">
    	<div class="AdvBanner" id="ad_pic_273"><img src="<%=basePath %>image/foot.png" alt=""></div>
    </div>
</div>

    <div class="footer loginFooter">

        <div class="container">
            <p class="floatl" style="margin:20px 50px 0 230px;">
                <img src="<%=basePath%>image/piao_code.png" width="80" style=" border:4px solid #fff;vertical-align:bottom;" />
                <br />扫一扫关注微信
            </p>
                <p class="floatl" style="text-align:left;margin:0 0 0 0;padding:5px 0 10px 60px;">
                    <span style="font-size:16.5px;">立寻信息技术（上海）有限公司 </span><br />
                    地址：上海市闵行区老沪闵路1317号2楼202-203室<br />
                    备案/许可证编号：沪ICP备16026307号<br />
                    Copyright © 2015 www.lx361.com All Rights Reserved<br />
                </p>
        </div>

    </div>
    <style>
        .adPos {position:absolute;
                top:-527px;
                left:0;
                z-index:111;
        }
        /*.transP {width:100%;background:#000;opacity:0.5;filter:alpha(opacity=50);position:fixed;left:0;top:0;z-index:111;
        }*/
         .container.loginBox.loginBoxTwo {
            height: 500px;
        }

         .loginBox .loginList ul li {
            position: relative;
        }

            .loginBox .loginList ul li .help-block {
                position: absolute;
                bottom: -16px;
                bottom: -24px\9;
                left: 10px;
                font-size: 11px;
                margin: 0;
                color: #f00;
                font-weight:normal;
            }
        .container.loginBox.loginBoxTwo .loginBanner{
            background:none;
        }
        .loginFour ul li a{color:#000;}
        /*body {
            background: #f2f2f2;
        }*/
        .loginBox .loginList{
            width:341px;
        }
        .loginFour ul li{border-right:none;}
    </style>

    <script>

    <script src="<%=basePath%>script/jquery-1.9.1.js"></script>
    <script src="<%=basePath%>script/bootstrap/js/bootstrap.min.js"></script>
    <script src="<%=basePath%>script/bootstrap/js/bootbox.min.js"></script>
    <script src="<%=basePath%>script/ajaxHelpers.js"></script>
    <script src="<%=basePath%>script/jquery.validate.js"></script>
    <script src="<%=basePath%>script/jquery.loadmask.js"></script>
    <script src="<%=basePath%>script/jquery.cookie.js"></script>
    <script type='text/javascript'>(function () { document.getElementById('___szfw_logo___').oncontextmenu = function () { return false; } })();</script>
    <script type="text/javascript">
        $(".transP").height($(window).height());

        $(document).ready(function () {
            $('input[name="company_no"]').val($.cookie("company_no"));
            $('input[name="user_no"]').val($.cookie("user_no"));
            $('input[name="password"]').val($.cookie("password"));
            $('#IsRememer').prop("checked", $.cookie("IsRememer"));
            $('#loginForm').validate({
                errorClass: 'help-block',
                highlight: function (element) {
                    $(element).closest('.form-group').addClass('has-error');
                },
                success: function (label) {
                    label.closest('.form-group').removeClass('has-error').end().remove();
                },
                errorPlacement: function (error, element) {
                    if (element.closest(".input-group").size() > 0)
                        error.appendTo(element.closest(".input-group").parent());
                    else
                        error.appendTo(element.parent());
                },
                submitHandler: function (form) {
                    $(form).mask('正在登录，请稍后...');
                    var url = $(form).prop('action'), method = $(form).prop('method');
                    $.ajax({
                        url: url,
                        type: method,
                        data: $(form).serialize(),
                        cache: false
                    }).done(function (company_no) {
                        $.cookie("company_no", $('input[name="company_no"]').val(), { expires: 365, path: '/' });
                        var expires = { expires: 0, path: '/' };
                        if ($('#IsRememer').prop("checked"))
                            expires.expires = 365;

                        $.cookie("user_no", $('input[name="user_no"]').val(), expires);
                        $.cookie("password", $('input[name="password"]').val(), expires);
                        $.cookie("IsRememer", $('#IsRememer').prop("checked"), expires);
                        if (company_no == null || company_no == "") {
                            window.location.href = '/t_company_user/index';
                        }
                        else {
                            var urls = '<%=basePath%>/index.jsp';//默认跳转到Merchandise by zt date:2016-3-18
                            window.location.href = urls + "?company_no=" + company_no
                        }
                    }).fail(function (XMLHttpRequest, textStatus, errorThrown) {
                        $(form).unmask();
                        $('#imgCheck').click();
                    });
                }
            });
        });

        //2016年1月25日10:13:50 幻灯片宽度
        //$(".container.loginBox.loginBoxTwo .loginBanner").width($(".container.loginBox.loginBoxTwo").width() - 350);
        //pos机广告图
        window.onload = function () {
            $("body").css("overflow","hidden");
            $(".adPos").animate({
                top: 184
            }, 500);
            setTimeout(function () {
                $(".adPos").animate({
                    top: 84
                }, 500);
            }, 1000);
            //setTimeout(function () {
            //    $(".adPos").animate({
            //        top: 84
            //    }, 500);
            //    $(".transP").fadeOut(600);
            //}, 2000);
        };
    </script>
    <!--[if lt IE 10]>
     <script src="script/jquery.placeholder.min.js"></script>
     <script type="text/javascript">
         $(function () {
             $('input,textarea').placeholder();
         })
     </script>
    <![endif]-->
</body>
</html>
